#ifndef CONNECTMENU_HH_INCLUDED
#define CONNECTMENU_HH_INCLUDED

#include <Header.hh>
#include <DrawableGameComponent.hh>
#include <GameScreen.hh>
#include <GameTime.hh>

class ConnectMenu : public DrawableGameComponent, public GameScreen
{
    public:
        ConnectMenu(Window &);
        virtual ~ConnectMenu();
        virtual int     Run(void);
        virtual void    Update(Time);
        virtual void    Draw(Time);
        void        GoNext(void);
        void        GoPrev(void);
        int         Enter(void);

    private:
        std::list<sf::String*>              _Items;
        std::list<sf::String*>::iterator    _Current;
        sf::Font                            *_Font;
        Window                              &_Window;
        int                                 maxCharServ;
        int                                 maxCharCur;
        std::map<std::string, int>          _ItemSelect;
};



#endif // CONNECTMENU_HH_INCLUDED
